/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Welt;

import Schnittstellen.Graphisches.Texturen.Textur;
import com.jme3.terrain.heightmap.HeightMap;
import com.jme3.terrain.heightmap.ParticleDepositionHeightMap;
import java.awt.Dimension;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author geez
 */
public class Feld {

    private Textur[] texture;
    private float[][] heightmap;

    public Feld(Dimension size) {
        heightmap = new float[size.width][size.height];
    }

    public HeightMap getHeightMap() {
        try {
            HeightMap map=new ParticleDepositionHeightMap(64, 5, 5, 5, 5, 5);
        } catch (Exception ex) {
            Logger.getLogger(Feld.class.getName()).log(Level.SEVERE, null, ex);
        }
                
        return null;
    }
}
